package top.hcode.hoj.pojo.vo.coll;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import top.hcode.hoj.pojo.entity.CollQuestionJudgeRecord;

import java.math.BigDecimal;
import java.util.List;

/**
 * 待评分的主观题信息
 * @author orangej
 * @since 2025/2/15
 */
@Data
public class CollSubjectiveQuestionToJudgeVO {
    private String userId;
    private String classId;
    private String questionId;
    private String userAnswerId;

    @ApiModelProperty(value = "题目标题")
    private String questionTitle;

    @ApiModelProperty(value = "题目分数")
    private BigDecimal questionScore;

    @ApiModelProperty(value = "题目顺序")
    private Integer questionOrder;

    @ApiModelProperty(value = "题目答案")
    private String userAnswer;

    @ApiModelProperty(value = "学生得分")
    private BigDecimal userScore;

    @ApiModelProperty(value = "学生姓名")
    private String userName;

    @ApiModelProperty(value = "班级名称")
    private String className;

    @ApiModelProperty(value = "已评分数量")
    private Integer judgedCount = 0;

    @ApiModelProperty(value = "总代评数量")
    private Integer totalCount = 0;

    @ApiModelProperty(value = "评分记录")
    private List<CollQuestionJudgeRecordVO> judgeRecordList;
}
